﻿using Footy.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Footy.Controllers
{
    public class FeatureController : GlobalController
    {
        public ActionResult StadiumView()
        {
            using (var context = FootyDB.CreateContext())
            {
                var stadiums = context.Stadiums.OrderBy(s => s.Name).ToArray();
                return View("StadiumView", "_MasterFeature", stadiums);
            }
        }

        public ActionResult GetMatch()
        {
            return View();
        }

        public ActionResult OnTour()
        {
            return View();
        }

        public ActionResult MyTeam()
        {
            return View();
        }
    }
}
